<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head th:replace="include/layout :: head ('注册',@{/style/login.css},'', '')">
</head>
<body>
<th:block th:replace="include/layout :: browsehappy"></th:block>
<th:block th:replace="include/layout :: nav_main ('user')"></th:block>

<div class="container">
    <div class="content">
        <div class="am-u-lg-6 am-u-md-8 am-u-sm-centered">
            <div class="title">登录</div>
            <hr/>
            <form method="post" class="am-form" action="passport/login">
                <label for="mobile">登录名:</label>
                <input type="text" name="username" id="mobile" value=""/>
                <br/>
                <label for="password">密码:</label>
                <input type="password" name="passwd" id="password" value=""/>
                <br/>

                <div class="am-cf">
                    <input type="hidden" th:value="${to}" name="to"/>
                    <input type="submit" name="" value="登 录"
                           class="am-btn am-btn-primary am-btn-sm am-fl"/>
                </div>

                <div th:text="${message}" style="color: red;"></div>


            </form>
        </div>
    </div>
</div>

</body>
</html>
